const pre = '/example/';

export default {
    path: '/example',
    title: '示例页面',
    header: 'home',
    auth: ['hidden'],
    icon: 'md-eye',
    children: [
        {
            path: `${pre}exampleList`,
            title: '普通列表页',
            children: [
                {
                    path: `${pre}tableFormGroup`,
                    title: '筛选条件循环输出'
                },
                {
                    path: `${pre}tableFormSingle`,
                    title: '筛选条件自定义组合'
                }
            ]
        },
        {
            path: `${pre}basePage`,
            title: '动态配置列表',
            children: [
                {
                    path: `${pre}base/productList`,
                    title: '商品列表一'
                },
                {
                    path: `${pre}base1/productList`,
                    title: '商品列表二'
                },
                {
                    path: `${pre}base/memberList`,
                    title: '会员列表'
                },
                {
                    path: `${pre}base/memberEdit`,
                    auth: ['hidden'],
                    title: '会员编辑'
                },
                {
                    path: `${pre}base/memberView`,
                    auth: ['hidden'],
                    title: '详情页'
                },
                {
                    path: `${pre}base/memberAdd`,
                    auth: ['hidden'],
                    title: '会员新增'
                }
            ]
        },
        {
            path: `${pre}otherPage`,
            title: '动态配置列表内页',
            children: [
                {
                    path: `${pre}base/memberAudit`,
                    title: '审核页面'
                }
            ]
        },
        {
            path: `${pre}dynamicComp`,
            title: '动态引入组件',
            children: [
                {
                    path: `${pre}dynamicComp`,
                    title: '列表页'
                },
                {
                    path: `${pre}dynamicCompNewEdit`,
                    title: '新增/编辑页'
                },
                {
                    path: `${pre}dynamicCompView`,
                    auth: ['hidden'],
                    title: '查看详情'
                }
            ]
        },
        {
            path: `${pre}treeTableList`,
            auth: ['hidden'],
            title: '树形表格'
        },
        {
            path: `${pre}exampleNewEdit`,
            title: '新增/编辑页面'
        },
        {
            path: `${pre}exampleView`,
            title: '查看页面'
        }
    ]
}
